package com.tomshushu.doc.freedoc.modular.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tomshushu.doc.freedoc.modular.project.entity.ProjectEntity;
import com.tomshushu.doc.freedoc.modular.project.model.param.AddProjectParam;
import com.tomshushu.doc.freedoc.modular.project.model.param.DeleteProjectParam;
import com.tomshushu.doc.freedoc.modular.project.model.param.EditProjectParam;
import com.tomshushu.doc.freedoc.modular.project.model.result.ProjectStatisticsResult;
import com.tomshushu.doc.freedoc.modular.team.model.param.DeleteTeamParam;
import com.tomshushu.doc.freedoc.modular.team.model.param.EditTeamParam;
import org.springframework.web.bind.annotation.RequestBody;

public interface ProjectService extends IService<ProjectEntity> {
    /**
     * 添加项目
     *
     * @param addProjectParam
     */
    void addProject(AddProjectParam addProjectParam);

    /**
     * 编辑项目
     * @param param
     */
    void editProject(EditProjectParam param);

    /**
     * 删除项目
     * @param param
     */
    void deleteProject(DeleteProjectParam param);

    /**
     * 项目统计
     * @param param
     * @return
     */
    ProjectStatisticsResult statistics(@RequestBody DeleteProjectParam param);

    /**
     * 获取项目信息
     * @param param
     * @return
     */
    ProjectEntity getProjectInfo(@RequestBody DeleteProjectParam param);
}
